package com.feini.ktv.svc.entity.pm;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author podara
 * @since 2021-04-21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class PmResBatch implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 批次
     */
    @TableId(value = "batch_id", type = IdType.AUTO)
    private Long batchId;

    /**
     * 实物编码
     */
    private Long termCode;

    /**
     * 子批次
     */
    private Long subBatchCode;

    /**
     * 批次名称
     */
    private String batchName;

    /**
     * 批发价格
     */
    private String barePrice;

    /**
     * 总数量
     */
    private String countNumber;

    /**
     * 商家号
     */
    private String sellerId;

    /**
     * 订单号或合同
     */
    private Long pickOrder;

    /**
     * 创建时间
     */
    private LocalDateTime createDate;

    /**
     * 提货时间
     */
    private LocalDateTime pickDate;

    /**
     * 操作员工
     */
    private String createOpId;

    /**
     * 归属部门
     */
    private String createOrgId;

    /**
     * 备注
     */
    private String remark;


}
